package kafeisc.domain;

import java.io.Serializable;
import java.util.List;

/**
 * @Classname PageBean
 * @Description TODO
 * @Date 20:57
 * @Created 
 */
public class PageBean implements Serializable {

   private static final long serialVersionUID = 1L;
   private int currentPage;// 当前页码
   private int totalCount;// 总条数
   private int totalPage;// 总页数
   private int currentCount;// 每页条数
   private List<Product> ps;// 每页显示的数据
   private String category;//类别
   private String searchfield;//模糊搜索的图书名

   public String getCategory() {
      return category;
   }

   public String getSearchfield() {
      return searchfield;
   }

   public void setSearchfield(String searchfield) {
      this.searchfield = searchfield;
   }

   public void setCategory(String category) {
      this.category = category;
   }

   public int getCurrentPage() {
      return currentPage;
   }

   public void setCurrentPage(int currentPage) {
      this.currentPage = currentPage;
   }

   public int getTotalCount() {
      return totalCount;
   }

   public void setTotalCount(int totalCount) {
      this.totalCount = totalCount;
   }

   public int getTotalPage() {
      return totalPage;
   }

   public void setTotalPage(int totalPage) {
      this.totalPage = totalPage;
   }

   public int getCurrentCount() {
      return currentCount;
   }

   public void setCurrentCount(int currentCount) {
      this.currentCount = currentCount;
   }

   public List<Product> getPs() {
      return ps;
   }

   public void setPs(List<Product> ps) {
      this.ps = ps;
   }

}
